 
DEBUG = true;
var baseUrl = "http://127.0.0.1/ChatWidget";

var modulesToLoad = { 
	//Participant Badge dependencies
	
	'conversationPanel' : {
		fullpath : baseUrl + "/widgets/conversationPanel/conversationPanel.js" ,
		requires : [ 'widget' ,'widgetsEvents','conversationPanelcss'  ]
	},
	
	'conversationPanelcss': { 
		fullpath: baseUrl + "/widgets/conversationPanel/skins/amitabh/conversationPanel.css",  
		type: 'css' 
	},
	'videoPlugin' : {
		fullpath : baseUrl + "/widgets/conversationPanel/plugins/video/videoPlugin.js",
		requires : ['videoPlayer' , 'node' ,'widgetsEvents'  ,'plugin' ] 
	},
	
	/**** VIDEO ***************/
	'videoPlayer' : {
		fullpath : baseUrl + "/widgets/conversationPanel/plugins/video/videoPlayer.js" ,
		requires : ['event' ,'dd-plugin' ,'swfobject', 'youtubeAPI' ,'videoPlayercss' ,'widgetsEvents' ,  'widget-position', 'widget-stack' ,'widget']
		//requires : [ 'widgetsEvents' ,  'widget-position', 'widget-stack' ,'widget']
	},
	'videoPlayercss' : {
		fullpath : baseUrl + "/widgets/conversationPanel/plugins/video/skins/amitabh/videoPlayer.css",
		type: 'css'   
	},
	'youtubeAPI' : {
		fullpath :   "http://www.google.com/jsapi" 
		  
	},
	'swfobject' : {
		fullpath :   baseUrl + "/widgets/conversationPanel/plugins/video/libs/swfObject.js" 
	},
	
	/*****************************/
	
	'widgetsEvents' : {
		fullpath : baseUrl + "/widgets/widgetsEvents.js" 
	},
	'participantModel' : {
		fullpath : baseUrl + "/widgets/participant/models/participantModel.js",
		requires : ['attribute','widgetsEvents'  ]
	}, 
	
	
	'yTags' : {
		fullpath : baseUrl + "/widgets/tags.js" ,
		requires : ['event' ]
	},
	
	
	/*
	 * Participant Badge
	 */
	'participantBadgeView' : {
		fullpath : baseUrl + "/widgets/participantsList/plugins/participantBadge/views/participantBadgeView.js" ,
		requires : ['widgetsEvents' , 'node' ]
	},
	'participantBadgePlugin' : {
		fullpath : baseUrl + "/widgets/participantsList/plugins/participantBadge/participantBadgePlugin.js",
		requires : ['widgetsEvents'  ,'participantBadge','plugin'] 
	},
	'participantBadge' : {
		fullpath : baseUrl + "/widgets/participantsList/plugins/participantBadge/participantBadge.js",
		requires : ['widgetsEvents' , 'widget', 'widget-position', 'widget-stack' ,'participantBadgeView' , 'participantModel' , 'participantBadgecss'] 
	},
	'participantBadgecss': { 
		fullpath: baseUrl + "/widgets/participantsList/plugins/participantBadge/assets/skins/amitabh/participantBadge.css", 
		//fullpath: baseUrl + "/widgets/participantBadge/assets/skins/amitabh/participantBadge.css", 
		type: 'css' 
	},
	
	/*
	 * Participants List
	*/
	
	
	
	'participantsList' : {
		fullpath : baseUrl + "/widgets/participantsList/participantsList.js" ,
		requires : ['widgetsEvents'  ,'widget', 'participantsListcss', 'participantsListModel' ,'participantsListView', "datasource-io", "datasource-xmlschema"] 
	},
	'participantsListView' : {
		fullpath : baseUrl + "/widgets/participantsList/views/participantsListView.js" ,
		requires : ['widgetsEvents' , 'node' ]	
	},
	'participantsListModel' : {
		fullpath : baseUrl + "/widgets/participantsList/models/participantsListModel.js" ,
		requires : ['widgetsEvents'  ,'node', 'participantModel'] 
	},
	'participantsListcss': { 
		fullpath: baseUrl + "/widgets/participantsList/assets/skins/amitabh/participantsList.css", 
		type: 'css' 
	},
	
	
	
	
	
	'inputFieldcss': { 
		fullpath: baseUrl + "/widgets/inputField/assets/skins/amitabh/inputField.css", 
		type: 'css' 
	} ,
	'inputField': { 
		fullpath: baseUrl + "/widgets/inputField/inputField.js", 
		requires : ['widgetsEvents' , 'yTags' , 'inputFieldcss' ,'widget', 'widget-position', 'widget-stack' , 'overlay']	
	} 
	
	//Participant List dependencies
}

var config = {
	base : baseUrl + "yui_3.0.0b1/build/",
	//base : 'http://localhost/ChatWidget/yui_3.0.0/build/',
	
	combine: true, 
	timeout: 10000,
	filter : 'raw',
	modules : modulesToLoad
};